<!--
 * @Author: liubei
 * @Date: 2021-09-15 17:48:24
 * @LastEditTime: 2021-10-09 17:01:47
 * @Description: 
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/raw.css">
</head>
<body>
    <img id="assetimg" src="" alt="">
    <script type="module">
        import logoUrl from './example/logo.png';

        console.log(logoUrl);

        const assetimg = document.getElementById('assetimg');

        assetimg.src = logoUrl;
    </script>

    <script type="module">
        import './example/raw.css';
    </script>

</body>
</html>